package com.example.shengyin.dao;

import com.example.shengyin.entity.Admin;
import com.example.shengyin.entity.Join;
import com.example.shengyin.entity.common;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.sql.Timestamp;
import java.util.List;

/**
 * AdminMapper接口
 * 
 * @author ruoyi
 * @date 2023-07-29
 */
@Service
public interface JoinMapper
{
    public Join select(@Param("id")Long id);
    public common select2(@Param("id")Long id);
    public List<Join> list(@Param("pagestart")int pagestart, @Param("limit")int limit, @Param("uname")String uname,
                           @Param("phone")String phone,
                            @Param("eventid")Long eventid);
    public int count(@Param("uname")String uname, @Param("phone")String phone,
                      @Param("eventid")Long eventid);
    public int insert(Join dAdmin);
    public int update(@Param("id")Long id,@Param("isattend")boolean isattend);
    public int delete(@Param("id")Long id);
    public int deleteByIds(@Param("ids")String ids);
}
